<?php
global $featureManager;

$featureManager->apply("com.yizin.site.get.name", $config);
?>
		
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>%s &laquo; <?=$config['data']['site_name'];?></title>
		<link href="<?=RESOURCE_BASE?>site/images/logo.png" type="image/x-icon" rel="shortcut icon" />
		<link rel="stylesheet" href="<?=RESOURCE_BASE?>site/styles/reset.css" type="text/css" />
		<link rel="stylesheet" href="<?=RESOURCE_BASE?>site/styles/basic.css" type="text/css" />	
		<!-- fix IE8 sticky footer bug -->
		<!--[if !IE 7]>
		<style type="text/css">
			#doc {display:table;height:100%}
		</style>
		<![endif]-->
		<script type="text/javascript" src="<?=RESOURCE_BASE?>site/scripts/jquery-1.4.2.min.js"></script>
		<script type="text/javascript">
			window.constant = {};
			window.constant.REQUEST_BASE = "<?=REQUEST_BASE?>";
		</script>
	</head>
	<body id="%s">
		<div id="doc">
			<div id="header">
				<h1 id="logo"><a href="<?=REQUEST_BASE?>"><img src="<?=RESOURCE_BASE?>site/images/logo.png" alt="Web Development Lab" title="Web Development Lab" /></a></h1>